package cn.coco.jf.fw.core.db;


import java.util.Date;

import com.jfinal.plugin.activerecord.Model;

import cn.coco.jf.fw.core.consts.JkConst;

public class SysLogTbl extends Model<SysLogTbl>{
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    public static SysLogTbl dao = new SysLogTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);

    public static SysLogTbl newInstance(){
        return new SysLogTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }

    public SysLogTbl(){
        use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }

    private Integer id;
    private String optType; // 使用区分
    private String optContent; // 使用唯一标识符
    private Date createDateTime; // 生成code的时间

    public Integer getId() {
        return get("id");
    }

    public void setId(Integer id) {
        set("id", id);
    }

    public String getOptType() {
        return get("optType");
    }

    public void setOptType(String optType) {
        set("optType", optType);
    }

    public String getOptContent() {
        return get("optContent");
    }

    public void setOptContent(String optContent) {
        set("optContent", optContent);
    }

    public Date getCreateDateTime() {
        return get("createDateTime");
    }

    public void setCreateDateTime(Date createDateTime) {
        set("createDateTime", createDateTime);
    }


}
